package com.vrv.common.resolver;

import java.util.ArrayList;
import java.util.Map;

public class Response {

    private String[] messages;
    private int totalRecords;
    private boolean success;
    private Map<String, Object> record;
    private ArrayList<Map<String, Object>> records;

    /* ---- Gettings && Settings ---- */
    public String[] getMessages() {
        return messages;
    }

    public void setMessages(String[] messages) {
        this.messages = messages;
    }

    public int getTotalRecords() {
        return totalRecords;
    }

    public void setTotalRecords(int totalRecords) {
        this.totalRecords = totalRecords;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Map<String, Object> getRecord() {
        return record;
    }

    public void setRecord(Map<String, Object> record) {
        this.record = record;
    }

    public ArrayList<Map<String, Object>> getRecords() {
        return records;
    }

    public void setRecords(ArrayList<Map<String, Object>> records) {
        this.records = records;
    }
}
